function init_indented () {
    var transId = Ext.Ajax.request({
        url: _webroot+'/members/indented/ax',
        method: 'POST',
        success: function(response, opts) {
            Ext.fly('indented-list-body').update(response.responseText);
        },
        failure: function(response, opts) {
            message('server-side failure with status code '+response.status);
        },
        callback: function() {
            Ext.fly('report-list-status').ghost('b', { useDisplay:true });
        }
    });

    if (Ext.Ajax.isLoading(transId)) {
        Ext.fly('report-list-status').fadeIn();
    }
} // init_indented

function message (msg, focus) {
    alert(msg);

    if (typeof focus != 'undefined') {
        Ext.fly(focus).focus();
    }
} // message

function init () {
    init_indented();
} // init